package com.xindaoapp.happypet.view;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.widget.TextView;

import com.xindaoapp.happypet.R;

public class MyDialogScore extends Dialog {

    Context context;
    private String score;

    public MyDialogScore(Context context) {
        super(context);
        this.context = context;
    }

    public MyDialogScore(Context context, int theme) {
        super(context, theme);
        this.context = context;
    }

    public MyDialogScore(Context context, int theme, String score) {
        super(context, theme);
        this.context = context;
        this.score = score;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        // TODO Auto-generated method stub
        super.onCreate(savedInstanceState);
        this.setContentView(R.layout.dialog_one);
        TextView add_score = (TextView) findViewById(R.id.add_score);

        add_score.setText(score);
    }
}
